import contextily as ctx
import geopandas as gpd
import matplotlib.pyplot as plt
from geosnap import DataStore
from geosnap import analyze as gaz
from geosnap import io as gio
from geosnap import visualize as gvz4 Geodemographic Clustering
%load_ext watermark
%watermark -a 'eli knaap' -iv -d -uThe watermark extension is already loaded. To reload it, use:
%reload_ext watermark
Author: eli knaap
Last updated: 2024-01-16
geosnap : 0.12.1.dev9+g3a1cb0f6de61.d20240110
geopandas : 0.14.1
contextily: 1.4.0
matplotlib: 3.8.2
datasets = DataStore()atl = gio.get_acs(datasets, msa_fips="12060", years=2021, level="tract")/Users/knaaptime/Dropbox/projects/geosnap/geosnap/io/util.py:275: UserWarning: Unable to find local adjustment year for 2021. Attempting from online data
warn(
/Users/knaaptime/Dropbox/projects/geosnap/geosnap/io/constructors.py:215: UserWarning: Currency columns unavailable at this resolution; not adjusting for inflation
warn(
atl[["median_household_income", "geometry"]].explore(
"median_household_income",
scheme="quantiles",
k=8,
cmap="magma",
tiles="CartoDB Positron",
)Make this Notebook Trusted to load map: File -> Trust Notebook